{extend name="base" /}
{block name="style"}
<style>
    .layui-form-select dl{min-width: 15%}
    .layui-select-title{width: 15%}
    .layui-form-select .layui-input{width:200px}
    .m-form .u-btn {margin:0;}
    .m-form-btn{margin:20px;text-align: center}
    .layui-textarea{width: 400px;}
</style>
{/block}
{block name="content"}
<script language="javascript" type="text/javascript" src="__STATIC__/public/My97DatePicker/WdatePicker.js"></script>

<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <a href="{:url('index/welcome')}"><i class="icon icon-home"></i>首页</a>
            <span class="icon-angle-right"></span>
            <span>门店管理</span>
            <span class="icon-angle-right"></span>
            <span>门店管理</span>
            <span class="icon-angle-right"></span>
            <span>{$info ? '编辑' : '添加'}门店</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>

    <div class="m-main-content">
        <div class="m-container">
            <div class="m-form">
                <form class="layui-form" id="j_form">
                    <table class="m-table">
                        <thead>
                        <tr>
                            <th colspan="2"><?=$info ? '编辑' : '添加'?>门店</th>
                        </tr>
                        </thead>
                        <tbody>

                        <tr>
                            <td width="15%"><label for="name">门店名称<em>*</em></label></td>
                            <td>
                                <input type="text" class="u-ipt u-ipt-long" name="name" id="name" placeholder="请输入门店名称" value="{$info['name']}" />
                            </td>
                        </tr>



                        </tbody>
                    </table>
                    <div class="m-form-btn">

                        <button id="j_btn" class="u-btn u-submit-btn">保存</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="extrajs"}
<script src="__STATIC__/public/js/jquery-ui.min.js"></script>
{include file="public:upload"/}
{include file="public:editor"/}

{/block}